# Contributor: Angelo Verlain <hey@vixalien.com>
# Maintainer: Angelo Verlain <hey@vixalien.com>
pkgname=elementary-music
pkgver=8.0.0
pkgrel=0
pkgdesc="Music app designed for elementary OS"
url="https://github.com/elementary/music"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	granite7-dev
	gstreamer-dev
	gst-plugins-base-dev
	gtk4.0-dev
	libadwaita-dev
	meson
	vala
	"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/elementary/music/archive/refs/tags/$pkgver.tar.gz"

builddir="$srcdir/music-$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
dd03b21e7737efce81d6c23416760d66c78f405d37915be5ec3cd98e08ecdbcd7e1fd775d7b81ce4d2ccd9603da39cd1a1dd21904461257a0647f144f2701c3d  elementary-music-8.0.0.tar.gz
"
